/*
 * Copyright 2010 Mttang.com All right reserved. This software is the
 * confidential and proprietary information of Mttang.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Mttang.com.
 */
package com.mttang.sys.integration.dao;

import java.util.List;
import java.util.Map;

import com.mttang.sys.dto.MenuDTO;

/**
 * 类MenuDAO.java的实现描述：TODO 类实现描述 
 * @author acc 2010-6-1 上午11:11:05
 */
public interface MenuDAO {
    public List<MenuDTO> findMenu(Map<String, Object> param);
    
    public List<MenuDTO> findMenuTop(Map<String, Object> param);

    public Long findCount(Map<String, Object> param);

    public List<MenuDTO> findMenuTree(Map<String, Object> param);
    
    public List<MenuDTO> findMenuLeft(Map<String, Object> param);
    
    public MenuDTO findById(Integer id);
    
    public Long findByPid(Integer id);

    public void insert(MenuDTO dto);
    
    public void update(MenuDTO dto);

    public void delete(MenuDTO dto);


}
